﻿
<style type="text/css">
<!--

#nav1{margin:0px;text-align:center;line-height:25px;width:200px;padding:0;list-style:none;font-size:14px;}
.title{background:url(image/menu-1.jpg); background-color:#145099;color:#fff;border-bottom:1px solid #fff;cursor:pointer;height:30px;font-size:15px;}
.title1{background:url(image/menu-1.jpg);color:#fff;border-bottom:1px solid  #999999;cursor:pointer; height:30px;font-size:15px;}
.content1 li{color:#336699;background:#fff;border-bottom:1px dashed #608FC5; height:30px;}
.content1 li a{ display:block; text-decoration:none;padding:2px; color:#145099;}
.content1 li a:hover{ background:url("image/about.jpg") repeat scroll 0 0 transparent; text-decoration:none;color:#145099;}
-->
</style> 

<script language = JavaScript>
function showmenu1(id) { 
	var list = document.getElementById("list"+id);
	var menu = document.getElementById("menu"+id);	
	if (list.style.display=="none") 
	{		
		document.getElementById("list"+id).style.display="block";
		menu.className = "title1";		
	}else 
	{
		document.getElementById("list"+id).style.display="none";
		menu.className = "title";		
	}
} 
</script>    
     <div id="nav1">		
		<div class="title" id="menu1" onclick="showmenu1('1');">Ajax下载</div>
		<div id="list1" class="content1">
		     <ul>
			 <li><a href="">jQuery</a></li>
			 <li><a href="">Extjs</a></li>
			 <li><a href="">Mootools</a></li>
			 </ul>
		</div>	
		<div class="title" id="menu2" onclick="showmenu1('2');">网页代码</div>
		<div id="list2" class="content1" style="display:none">
			 <ul>
			 <li><a href="">菜单导航</a></li>
			 <li><a href="">层和布局</a></li>
			 <li><a href="">图片切换</a></li>
			 </ul>
		</div>	
  
         <div class="title" id="menu3" onclick="showmenu1('3');">网页代码</div>
		<div id="list3" class="content1" style="display:none">
			 <ul>
			 <li><a href="">菜单导航</a></li>
			 <li><a href="">层和布局</a></li>
			 <li><a href="">图片切换</a></li>
			 </ul>
		</div>	  
        
        
    </div>